From: | Allan Odgaard |
Date: | 02 Aug 99 at 08:33:50 |
Subject: | Creating an MCC (was: Re: (no subject)) |
From: Allan Odgaard <Duff@DIKU.DK>
On 01-Aug-99, David Arbuthnot wrote:
> [...] I was wondering if it is possible to create an MCC library with DICE-C
An MCC is just a normal library with one function, that returns a pointer to
the class it represents. So if you can create a library with DICE then you can
also create an MCC.
> (A small example would be nice)
As Chris said, there is one at TUMULT - but for StormC. There's also
MCC_Tron.lha on Aminet, but I don't know how good this is. Though it is ment
as a teaching example, in contrary to the one at TUMULT, which is just
supposed to show how to link an MCC with StormC's library generator.
> Also where can i get some in-depth docs on creating MCC's & MCP's as quite a
I don't know how much you know. First you must learn about OO then BOOPSI.
After that, read the MUIdev.guide, which is to find in the MUI developer
archive, it describes most of the concepts introduced by MUI (but keep in mind
that MUIM_HandleInput is obsolete)
After this you could study the source examples mentioned.
If you still have some problems or questions (program or design related) then
ask :-)
I run a MUI list, http://www.onelist.com/subscribe/mui, and I can almost
guarantee that your questions will not go unanswered ;-)
> lot of my code would be usefull to other programmers (perhaps a
> filemanager.mcc or maybee a applauncher.mcc ??? (if they haven't been done
> already))
http://www.amiga.dk/tumult/ is also the place to learn about which classes
exists, or are planned/in development...
Regards Allan